﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterPagePrivate.master" AutoEventWireup="true" CodeFile="NewsletterList.aspx.cs" Inherits="Pages_Admin_NewsletterList" %>
<%@ Register Src="~/UserControls/DataTableList.ascx" TagName="DataTableList" TagPrefix="UC" %>
<%@ Register Src="~/UserControls/Pager.ascx" TagName="Pager" TagPrefix="UC" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageHeader" Runat="Server">
    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PageBody" Runat="Server">
    <h4 id="h4Heding" runat="server">Newsletter List</h4>    
    <div id="divMessage" runat="server" visible="false" enableviewstate="false"></div>
    <div>
        <a href="/Pages/Admin/NewsletterChange.aspx">Add New Newsletter</a>
    </div>  
    
    <div class="ListingContainer">
        <UC:DataTableList ID="ucNewsletterList" runat="server"
            VisibleFields="Title, IsActive, Created" LinkFields="ID" />

        <div style="margin-top:10px;">
            <UC:Pager ID="ucNewsletterListPager" runat="server" OnPageIndexChanged="ucNewsletterListPager_PageIndexChanged" />
        </div>
    </div>  
</asp:Content>


